package com.dhcy.mqtt.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author zll
 * date 2020-09-10
 */
@Getter
@Setter
public class DeviceClass {
    @TableId(value = "id", type = IdType.AUTO)
    Long id;
    String className;


    @ApiModelProperty(value = "设备编码")
    String code;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    Date createTime;
    String createUser;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    Date updateTime;
    String updateUser;

}
